<%@ page import="com.xe.gae.control.XEBlobstoreService" %>
<%
XEBlobstoreService blobstoreService = new XEBlobstoreService ();
%>
<body>
    <form action="<%= 
    	blobstoreService.createUploadUrl("/_xe/admin/upload") 
        %>" method="post" enctype="multipart/form-data">
         
         <%
         	if(request.getParameter("resource-key")!=null){
         		%>
        	<input type="hidden" name="resource-key" value="<%=request.getParameter("resource-key")%>"/>
        <% } %>
        <table>
        <tr><td>
        <input type="file" name="myFile"/>
        </td></tr>
        <tr><td>
        <input type="checkbox" name="extract" value="extract"/>extract(zip/rar)<br>
        </td></tr>
        <tr><td>
        <input type="submit" value="Submit"/>
        </td></tr>
        </table>
    </form>
</body>